package net.ix.opal;

import android.util.Log;

import android.app.Activity;
import android.os.Bundle;

import net.ix.util.SimpleConnection;

public class NetTest extends Activity {
    /** Called when the activity is first created. */
	
	private String apiURI = "http://lab.ivanxu.com/a/simplelist";
	
    @Override 
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        new Thread(new Runnable(){
			public void run() {
				SimpleConnection conn = new SimpleConnection(apiURI);
		        Log.v("Net", conn.NetConn());
			}
        });
    }
}